{include file="public/header" /}
{load href="__LAYUI__layui.js"}
{load href="__LAYUI__css/layui.css"}
<style type="text/css">
    .gray-bg {
        background: #fff;
    }

    .wrapper {
        padding: 0px;
    }

    .asdh5 h5 {
        border-top: 1px dotted #ccc;
        padding-top: 20px;
        margin-top: 20px;
    }

    #hidetent {
        display: none;
    }
</style>
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <form class="form-horizontal" method="post">
            <div class="col-sm-12">
                <div class="form-group">
                    <label class="col-sm-2 control-label">状态：</label>
                    <div class="col-sm-9">
                        <div class="radio i-checks">
                            <label>
                                <input type="radio" value="0" name="is_banned" {present name="name"}{eq name="name.is_banned" value="0"}checked{/eq}{else /}checked{/present}>正常
                            </label>
                            <label>
                                <input type="radio" value="1" name="is_banned" {present name="name"}{eq name="name.is_banned" value="1"}checked{/eq}{/present}>冻结
                            </label>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">账号：</label>
                    <div class="col-sm-9">
                        <input name="name" type="text"  class="form-control" value="{present name='name'}{$name.name}{/present}">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">密码：</label>
                    <div class="col-sm-9">
                        <input name="password" type="text"  class="form-control" value="" placeholder="不填写默认为原密码">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">购买VIP分成占比：</label>
                    <div class="col-sm-9">
                        <input name="fencheng_vip" type="text"  class="form-control" value="{present name='name'}{$name.fencheng_vip * 100}{else /}0{/present}">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">充值分成占比：</label>
                    <div class="col-sm-9">
                        <input name="fencheng_topup" type="text"  class="form-control" value="{present name='name'}{$name.fencheng_topup * 100}{else /}0{/present}">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">聊天分成占比：</label>
                    <div class="col-sm-9">
                        <input name="fencheng_chat" type="text"  class="form-control" value="{present name='name'}{$name.fencheng_chat * 100}{else /}0{/present}">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">一级代理分成占比：</label>
                    <div class="col-sm-9">
                        <input name="fencheng_prev" type="text"  class="form-control" value="{present name='name'}{$name.fencheng_prev * 100}{else /}0{/present}">
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>
{include file="public/footer" /}
{load href="__PLUGINS__iCheck/icheck.min.js"}
{load href="__PLUGINS__iCheck/custom.css"}
<script type="text/javascript">
    $(document).ready(function(){
        $(".i-checks").iCheck({
            checkboxClass: "icheckbox_square-green",
            radioClass: "iradio_square-green",
        })
    })
</script>
{include file="public/bottom" /}